
package com.hs.sfzy.entity;

import java.io.Serializable;

/*
 *擅长领域表
 * @author lmh
 * @date 2024-10-24 10:19
 */
public class Specialty implements Serializable {
  private long id;
  private String name;


  public Specialty() {
  }

  public Specialty(long id, String name) {
    this.id = id;
    this.name = name;
  }

  /**
   * 获取
   * @return id
   */
  public long getId() {
    return id;
  }

  /**
   * 设置
   * @param id
   */
  public void setId(long id) {
    this.id = id;
  }

  /**
   * 获取
   * @return name
   */
  public String getName() {
    return name;
  }

  /**
   * 设置
   * @param name
   */
  public void setName(String name) {
    this.name = name;
  }

  public String toString() {
    return "Specialty{id = " + id + ", name = " + name + "}";
  }
}
